program myprobit_bad_lf
	version 8.1
	args lnf xb
	quietly replace `lnf' = ln(norm( `xb')) if $ML_y1 == 1
	quietly replace `lnf' = ln(norm(-`xb') if $ML_y1 == 0
end
